Skip to content

Embed some data files in libxamarin-app.so #9367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 50 commits into
base: main
Choose a base branch
from

Conversation

grendello
Copy link
Contributor

@grendello grendello commented Oct 3, 2024

Runtime blob config and assembly store are two candidates for embedding now.

If these two files are embedded in libxamarin-app.so, we can skip scanning the
APK for them and, potentially, speed up startup.

Changes implemented here give us a 2% speed up on the Displayed metrics, 2.7% on
the "Native to managed" metrics and 2% on the "Total runtime init" metrics.

Tests were performed on Pixel 6 Pro, using the dotnet new android template.

@grendello grendello requested a review from jonpryor October 3, 2024 19:55
@grendello grendello force-pushed the dev/grendel/embed-binaries-in-xamarinapp branch 5 times, most recently from 2730842 to 40a46b6 Compare October 10, 2024 20:28
@grendello grendello force-pushed the dev/grendel/embed-binaries-in-xamarinapp branch 4 times, most recently from 6a18219 to c69913c Compare October 16, 2024 09:22
@grendello grendello marked this pull request as ready for review October 16, 2024 15:51
@grendello grendello force-pushed the dev/grendel/embed-binaries-in-xamarinapp branch from b64f9e9 to f31d1a1 Compare October 17, 2024 18:45
@grendello grendello marked this pull request as draft October 18, 2024 11:50
@grendello grendello force-pushed the dev/grendel/embed-binaries-in-xamarinapp branch 5 times, most recently from bafa9e1 to d76969a Compare October 23, 2024 11:19
@grendello grendello force-pushed the dev/grendel/embed-binaries-in-xamarinapp branch from d76969a to c450cb6 Compare October 23, 2024 16:41
@grendello grendello marked this pull request as ready for review October 24, 2024 13:50
@grendello
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@grendello grendello force-pushed the dev/grendel/embed-binaries-in-xamarinapp branch 2 times, most recently from f2d1748 to 04b4ab8 Compare October 30, 2024 15:59
@grendello grendello force-pushed the dev/grendel/embed-binaries-in-xamarinapp branch from c584dbd to a1665db Compare May 27, 2025 15:10
@grendello grendello marked this pull request as draft May 27, 2025 15:10
@grendello
Copy link
Contributor Author

Was bitrotten, needs TLC after rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants